package com.plter.minios.mgrs
{
	public final class Message
	{
		public function Message(name:String,handler:Function)
		{
			this.name=name;
			this.handler=handler;
		}
		
		private var _handler:Function;

		/**
		 * 处理器
		 */	
		public function get handler():Function
		{
			return _handler;
		}

		public function set handler(value:Function):void
		{
			_handler = value;
		}
		
		private var _name:String="";

		/**
		 * 事件类型
		 */
		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

	}
}